From: kaf24@firebug.cl.cam.ac.uk Date: Fri, 30 Sep 2005 16:37:52 +0000 (+0100) Subject: Also send xenbus notifications using evtchn as handle. It's X-Git-Tag: archive/raspbian/4.8.0-1+rpi1~1^2~16763^2~60^2 X-Git-Url: https://dgit.raspbian.org/%22http:/www.example.com/cgi/%22https://%22%22/%22http:/www.example.com/cgi/%22https:/%22%22?a=commitdiff_plain;h=11ceacc92013ae31d29215355e9ce54b0a19af4e;p=xen.git Also send xenbus notifications using evtchn as handle. It's always up-to-date as it's reinitialised for us by external tools during save/restore and migration. --- diff --git a/linux-2.6-xen-sparse/drivers/xen/xenbus/xenbus_comms.c b/linux-2.6-xen-sparse/drivers/xen/xenbus/xenbus_comms.c index 7c9d8f6ec2..7d0ef111bc 100644 --- a/linux-2.6-xen-sparse/drivers/xen/xenbus/xenbus_comms.c +++ b/linux-2.6-xen-sparse/drivers/xen/xenbus/xenbus_comms.c @@ -147,7 +147,7 @@ int xb_write(const void *data, unsigned len) data += avail; len -= avail; update_output_chunk(out, avail); - notify_remote_via_irq(xenbus_irq); + notify_remote_via_evtchn(xen_start_info->store_evtchn); } while (len != 0); return 0; @@ -192,7 +192,7 @@ int xb_read(void *data, unsigned len) pr_debug("Finished read of %i bytes (%i to go)\n", avail, len); /* If it was full, tell them we've taken some. */ if (was_full) - notify_remote_via_irq(xenbus_irq); + notify_remote_via_evtchn(xen_start_info->store_evtchn); } /* If we left something, wake watch thread to deal with it. */